import { Tooltip, type TooltipProps } from "antd";
import './index.less';

type IProps = TooltipProps;

export default function MyTooltip(props: IProps) {
    return (
        <Tooltip
            color="#fff"
            placement="bottom"
            {...props}
            classNames={{
                body: "image_editor_tooltip",
                ...props?.classNames,
            }}
        >{ props?.children }</Tooltip>
    );
}
